Pixeldev\SquareWooSync\Square\SquareHelper A

Total Complexity 70
Dependencies 0
Dependents 9
Total lines 438
Lines of code 241
Logical lines of code 131
Comment lines 116
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
square_api_request()
A
42 13 45
update_square_product()
A
46 13 35
updated_inventory_data()
S
58 6 15
update_variable_product_variations()
S
59 6 14
process_queue()
S
55 4 20
decrypt_access_token()
S
58 4 15
update_simple_product_variation()
S
65 5 8
is_token_valid()
S
65 4 8
get_inventory()
S
60 3 13
update_variations()
S
67 3 7
encrypt_access_token()
S
61 2 11
update_inventory()
S
53 1 22
get_access_token()
S
71 2 5
get_square_item_details()
S
63 2 10
__construct()
S
80 1 3
queue_request()
S
64 1 10